package pers.kw.crm.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
public class UserDto {

    @ApiModelProperty(value = "用户编号")
    private String userNo;

    @NotBlank(message = "userName不能为空")
    @ApiModelProperty(value = "用户昵称")
    private String userName;


    @NotBlank(message = "userPwd不能为空")
    @ApiModelProperty(value = "用户密码")
    private String userPwd;


    @NotBlank(message = "userMobile不能为空")
    @ApiModelProperty(value = "用户年龄")
    private String userMobile;

    @ApiModelProperty(value = "用户年龄")
    private Long userAge;
}
